package com.buba.customer.dao;

import com.buba.customer.pojo.CustomerLevelInf;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 会员级别持久层接口
 */
@Repository
public interface CustomerLevelInfMapper {
    /**
     * 根据会员积分查询会员级别
     * @param userPoint
     * @return
     */
    CustomerLevelInf selCustomerLevelInfByUserPoint(Integer userPoint);

    List<CustomerLevelInf> selCustomerLevelInf();

    void delCustomerLevelInf();

    Integer addCustomerLevelInf(List<CustomerLevelInf> list);
}
